/*
 * CXmlParserFactory.h
 *
 *  Created on: 2010-4-6
 *      Author: Administrator
 */

#ifndef CXMLPARSERFACTORY_H_
#define CXMLPARSERFACTORY_H_

#include "CXmlParser.h"

class XmlParserFactory
	{
public:
	enum EXmlParserType
	{
		EXPT_TEXT = 0,
	    EXPT_FILE
	};
public:
	static IXmlParser* CreateXmlParserL(EXmlParserType type)
		{
		if(type == EXPT_TEXT)
			return CXmlParser::NewL();
		else
			return NULL;
		}
	};

#endif /* CXMLPARSERFACTORY_H_ */
